package com.weirn.spring.helloworld;

/**
 * Created by yp-tc-2563 on 2017/8/30.
 */
public class HelloApiImpl2 implements HelloApi {

    private String message;

    public HelloApiImpl2() {
    }

    public HelloApiImpl2(String message) {
        this.message = message;
    }

    @Override
    public void sayHello() {
        System.out.println (message);
    }
}
